package com.fortune.rainshinecommon.base;

/**
 * @program: rainShine
 * @description: 查询参数基类
 * @author: tangyn
 * @create: 2019-02-26
 **/
public class BaseQuery {
    /**
     * 页码
     */
    private Integer page = 1;
    /**
     * 查询行数
     */
    private Integer limit = 10;
    /**
     * 排序方式
     */
    private String order;
    /**
     * 排序字段
     */
    private String sort;

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }
}
